﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<FzWeb.Models.Post>>" %>
<table style="width:235px">
    <% foreach (var item in Model)
       { %>
    <tr>
        <td >
            <a href="<%= Url.Action("PostDetail", "post", new { id= item.PostId })%>">
                <%= item.Name %></a></td>
        <td>
            <%= string.Format("{0:d}",item.PostTime) %></td>
    </tr>
    <% } %>

</table>

